package com.cqut.dao;

import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

import com.cqut.model.NoticeManager;

public interface NoticeManagerMapper {
    int deleteByPrimaryKey(@Param("noticeId") String noticeId);

    int deleteByPrimaryKeys(@Param("primaryKeys") String[] primaryKeys);

    int insert(NoticeManager record);

    int insertSelective(NoticeManager record);

    NoticeManager selectByPrimaryKey(@Param("noticeId") String noticeId);

    int updateByPrimaryKeySelective(NoticeManager record);

    int updateByPrimaryKey(NoticeManager record);

    List<NoticeManager> loadModels(@Param("parameters") String parameters, @Param("condition") String condition, @Param("order") String order, @Param("sort") String sort, @Param("offset") int offset, @Param("limit") int limit);

    List<Map<String, Object>> loadMaps(@Param("parameters") String parameters, @Param("condition") String condition, @Param("order") String order, @Param("sort") String sort, @Param("offset") int offset, @Param("limit") int limit);

    long count(@Param("parameters") String parameters, @Param("condition") String condition, @Param("isDistinct") boolean isDistinct);

    NoticeManager findModel(@Param("noticeId") String noticeId, @Param("parameters") String parameters);

    Map<String, Object> findMap(@Param("noticeId") String noticeId, @Param("parameters") String parameters);
}
